<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/ueditor.config.js"></script>
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/ueditor.all.min.js"> </script>
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/lang/zh-cn/zh-cn.js"></script>
        <style type="text/css">
            div{
               width:100%;
            }        
        </style>
             <script type="text/javascript"> 
             var ue = UE.getEditor('editor');
        </script>
    </head>
    <body>
        <div>
            <form action="<?php print U('Admin/partTime/doupdate');?>" method="post">
                <input type="hidden" name="id" value="<?php print $data['id']?>"/>
                title<input type="text" name="title" value="<?php print $data['title']?>"/><br/>
                Drupal 版本<input type="text" name="drupal_version" value="<?php print $data['drupal_version']?>"/><br/>
                项目周期<input type="text" name="project_cycle" value="<?php print $data['project_cycle']?>"/><br/>
                body:<div>
                    <textarea id="editor" name='body' style="width:600px;height:300px;">
                        <?php print $data['body'];?>
                    </textarea>
                    </div>
                <select name="project_status">
                    <option value="1"<?php if($data['project_status']==1){?> selected="selected" <?php }?>>未接单</option>
                    <option value="2" <?php if ($data['project_status']==2){?> selected="selected" <?php }?>>已接单</option>
                    <option value="3" <?php if ($data['project_status']==3){?> selected="selected" <?php }?>>已完成</option>
                </select></br>
                <input type="submit" value="确定"/>
            </form>
        </div>
    </body>
</html>